package com.example.springapp.mapper;

import com.example.springapp.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface LoginMapper {
    public boolean login(@Param("code") String usercode,
                         @Param("pwd") String userpwd);
    public UserInfo loginEx(@Param("code") String usercode,
                          @Param("pwd") String userpwd);
    public int count();
}
